﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PServiceBus.Gateway.Interfaces.DTO {
    public class TopicInfos {
        public IList<TopicInfo> Topics { get; set; }
        public TopicInfos() { }
        public static TopicInfos New(params TopicInfo[] topics) {
            return new TopicInfos() { Topics = topics.ToList() };
        }
    }
}
